<!DOCTYPE html>
<html>
	<body>
		<div id="demo" class="footer container sx-padding">
				<div class="clearfix wow animated fadeIn animated" style="visibility: visible; animation-name: fadeIn;">
				<section>
				<h3>在线预约 </h3>
				<ul class="list-unstyled">
					<li><input name="cnName" type="text" id="xm" value="" placeholder="您的尊称 Name" maxlength="30" ></li>
					<li><input name="phone" type="text" id="dh" value="" placeholder="您的电话 Phone" maxlength="11" "></li>
					<li><textarea name="content" cols="" id="nr" value="" placeholder="您要留言的内容 Content" maxlength="200"></textarea></li>
					<li><input name="button" type="submit" onclick="saveLeaveWord()" id="button" value="立即提交 Submit →"></li>
				</ul>
				
				<script language="javascript" type="text/javascript">
				
					function saveLeaveWord(){
						var cnName = $("#xm").val();
						var phone = $("#dh").val();
						var content = $("#nr").val();
						console.log(cnName)
						if(!cnName||cnName == '') {
							alert('对不起！请输入您的称呼！');
							return false;
						}
						if(!phone||phone == '') {
							alert('对不起！请输入您的电话！');
							return false;
						}
						$.post("http://120.79.33.20:8081/deesb-admin/leaveword/saveOrUpdate", 
						{ cnName:cnName,phone:phone,content:content,isContact:false },
                        	function(data){
	                            if(data.rel){
	                                alert('我们已收到您的留言 , 感谢你的来信!');
	                            }else{
	                                alert('留言失败 , 请直接联系官网的电话');
	                           }
                        });
						
					}
				</script>
				
				</section>
				<section class="bianju">
				<h3>联系我们</h3>
				<address>
				<ul class="list-unstyled">
				<li>公司地址：广州市番禺区番禺大道北693号万谷中心302</li>
				<li>服务电话：020-39199653 </li>
				<li>服务手机：199-2770-0573</li>
				<li>Q　　Q：601415702</li>
				<li>E-mail：yuchen@deesb.com</li>
				</ul>
				</address>
				<p class="zhixun">
				   <a href="http://wpa.qq.com/msgrd?v=3&amp;uin=601415702&amp;site=qq&amp;menu=yes" class="qq" target="_blank">在线QQ咨询</a> 
				</p>
				</section>
				<section>
				<!--<h3>内容搜索</h3>
				<form name="formsearch" action="/plus/search.php">
				<ul class="list-unstyled">
				<li><input name="q" id="search-keyword" type="text" class="key" value="输入关键词 Keyword" placeholder="输入关键词 Keyword" onfocus="if (value ==&#39;输入关键词 Keyword&#39;){value =&#39;&#39;}" onblur="if (value ==&#39;&#39;){value=&#39;输入关键词 Keyword&#39;}"><input type="submit" class="s-button" value="搜索"></li>
				</ul>
				</form>-->
					<div>
						<h3>关注我们</h3>
						<div class="footer-follow" style="display: inline-block; margin-right: 30px;">
							<div class="qrcode-name">帝壹商邦微信服务号</div>	
							<hr width="140px" size="1" align="left" />
							<img src="https://open-deesb.oss-cn-shenzhen.aliyuncs.com/deesbweb/324718964137306229.jpg" width="140px" height="140px" class="qrcode-img" data-view="view">
						</div>
						<div  class="footer-follow" style="display: inline-block;">
							<div class="qrcode-name">合伙邦微信订阅号</div>	
							<hr width="140px" size="1" align="left" />
							<img src="https://open-deesb.oss-cn-shenzhen.aliyuncs.com/deesbweb/551228397161237902.jpg" width="140px" height="140px" class="qrcode-img" data-view="view">
						</div>
					</div>
				</section>
				</div>
				<div class="yq-link">
				<hr>
				<p><strong>友情链接：</strong>
					<small>友链申请QQ：601415702</small></p>
				
				</div>
				</div>
		
	</body>
</html>
